package com.weixing.mall.provider.model.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.weixing.mall.core.support.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 商品模块-商品规格值
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("gds_spec_value")
public class SpecValue extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 规格ID
     */
    private Long specId;

    /**
     * 规格值
     */
    private String specValue;

    /**
     * 规格图片
     */
    private String specImg;


    /**
     * erpId
     */
    private String erpId;

    /**
     * 排序
     */
    private Integer orderBy;

    /**
     * 备注
     */
    private String remark;

    /**
     * 乐观锁
     */
    private Integer revision;

    /**
     * 创建人
     */
    private Long createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private Long updatedBy;

    /**
     * 更新时间
     */
    private Date updatedTime;

    private  Long parentId;

    private  Long specLevel;

    private  Integer isEnable;


}
